package com.aizhixin.lab.company.entity;

import com.aizhixin.lab.common.entity.AbstractEntity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;

@SuppressWarnings("serial")
@Entity(name = "t_user")
@ToString
public class User extends AbstractEntity {
    @Column(name = "account_id")
    @Getter
    @Setter
    private Long accountId;
    @Column(name = "user_name")
    @Getter
    @Setter
    private String userName;
    @Column(name = "name")
    @Getter
    @Setter
    private String name;
    //superadmin  admin  teacher student
    @Column(name = "role")
    @Getter
    @Setter
    private String role;
    @Column(name = "SEX")
    @Getter
    @Setter
    private String sex;
    @Column(name = "JOB_NUM")
    @Getter
    @Setter
    private String jobNum;
    @Column(name = "PHONE")
    @Getter
    @Setter
    private String phone;
    @Column(name = "EMAIL")
    @Getter
    @Setter
    private String email;
    @Column(name = "CLASS_ID")
    @Getter
    @Setter
    private Long classId;
    @Column(name = "PROFESSIONAL_ID")
    @Getter
    @Setter
    private Long professionalId;
    @Column(name = "COLLEGE_ID")
    @Getter
    @Setter
    private Long collegeId;
    @Column(name = "AVATAR")
    @Getter
    @Setter
    private String avatar;
    @Column(name = "PERSONAL_PROFILE")
    @Getter
    @Setter
    private String personalProfile;
    @Column(name = "pass_word")
    @Getter
    @Setter
    private String passWord;
    @Column(name = "on_token")
    @Getter
    @Setter
    private String ontoken;
}
